package com.itfreer.gis.mapzone;

import org.apache.http.client.config.RequestConfig;

public class MapzoneConstants {
	 //private static final Logger LOG = java.util.logging.Logger.getLogger(ArcGisConstants.class.getName());

	  /*
	 * 设置请求参数:
	 *  setConnectionRequestTimeout: 设置从连接池中取连接的超时时间
	 *  setConnectTimeout: 设置连接超时时间
	 *  setSocketTimeout: 设置请求超时时间
	 */
	
	  public static int TIMELIMIT=1000*30;
	  public static final RequestConfig REQUEST_CONFIG = RequestConfig.custom().setConnectionRequestTimeout(TIMELIMIT).setConnectTimeout(TIMELIMIT).setSocketTimeout(TIMELIMIT).build();

	  /********** 定义通用常量 **********/
	  public static final String DEFAULT_CHARSET = "UTF-8";                     // 请求的编码格式
	  public static final String DEFAULT_TIME_FORMAT = "yyyy-MM-dd";            // 请求的编码格式

	  /********** 定义通用字段 **********/
	  public static final String ADD_FEATURE = "AddFeature";           // 添加box的url
	  public static final String UPDATE_FEATURE = "UpdateFeature";     // 更改box的url
	  public static final String DELETE_FEATURE = "DeleteFeature";     // 删除box的url
	  public static final String SELECT_FEATURES = "SelectFeatures";    // 查询box的url
	  public static final String LON = "x";                                     // 经度
	  public static final String LAT = "y";                                     // 纬度
}
